import request from '@/utils/request'

// 押金订单表列表
export function apiDepositOrderLists(params: any) {
    return request.get({ url: '/deposit_order/lists', params })
}

// 添加押金订单表
export function apiDepositOrderAdd(params: any) {
    return request.post({ url: '/deposit_order/add', params })
}

// 编辑押金订单表
export function apiDepositOrderEdit(params: any) {
    return request.post({ url: '/deposit_order/edit', params })
}

// 删除押金订单表
export function apiDepositOrderDelete(params: any) {
    return request.post({ url: '/deposit_order/delete', params })
}

// 押金订单表详情
export function apiDepositOrderDetail(params: any) {
    return request.get({ url: '/deposit_order/detail', params })
}

// 退款
export function apiDepositOrderRefund(params: any) {
    return request.post({ url: '/DepositOrder/refund', params })
}